﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using MyCompanyName.AbpZeroTemplate.CategoryApp.Dto;
using MyCompanyName.AbpZeroTemplate.ProductApp.Dto;

namespace MyCompanyName.AbpZeroTemplate.ProductApp
{
    public interface IProductAppService : IApplicationService
    {
        Task<PagedResultOutput<ProductDto>> GetProductsAsync(GetProductsInput input);
        Task CreateProductAsync(CreateProductInput input);
        Task UpdateProductAsync(EditProductInput input);

        Task<ProductDto> GetProductForEditAsync(EntityRequestInput<Guid> input);
        Task DeleteProductAsync(EntityRequestInput<Guid> input);
    }
}
